import json

from config import BASE_PATH


def read_json_data(filename):
    with open(filename, "r", encoding="utf8") as f:
        json_data = json.load(f)
        list_data = []
        for i in json_data:
            tup = tuple(i.values())
            list_data.append(tup[0:])
    return list_data


if __name__ == '__main__':
    ret = read_json_data(BASE_PATH + "/data/add_emp_data.json")
    print(ret)
